#!/bin/bash

chmod -R 755 /usr/share/NBS
chmod -R 755 /opt/NBS
chmod +x /opt/NBS/NBSD.py
sudo update-rc.d NBSD defaults 99
sudo /etc/init.d/NBSD start

